<?xml version="1.0" encoding="UTF-8"?>
<wicket:extend>
<div wicket:id="userDetailDlg"></div>
			<!-- begin: #col1 - first float column -->
			<div id="col1" role="complementary">
				<div id="col1_content" class="clearfix">
					<form method="post" action="" class="yform" role="application">
					<h3 style="display:inline;"><span wicket:id="selectedDate" class="importantTitle" /></h3><span class="dimmed">(请在右方选择条件进行统计)</span>
					<table width="100%" wicket:id="projStatListPanel">
					<thead>
						<tr>
							<th width="5%" nowrap>序号</th>
							<th width="25%">项目</th>
							<th width="20%">工时统计</th>
							<th>项目人员明细</th>
						</tr>
					</thead>
					<tbody>
						<tr valign="top" wicket:id="projList">
							<td width="20"valign="middle"><div class="type-text"><label><span wicket:id="projectIdx" /></label></div></td>
							<td>
							<div class="type-text">
							<a target="_blank" title="点击进入项目主页" style="font-weight:bold;" wicket:id="projectName"></a>
							<div style="margin-top:5px;"><span wicket:id="beginDate" />启动</div>
							<div wicket:id="milestone"></div>
							<div class="dimmed" wicket:id="dept"></div>
							</div></td>
							<td>
							 <div class="type-text">
								<div>花费<span style="font-weight:bold;color:#060;" wicket:id="allCost"></span>人天</div>
								<div style="margin-top:5px;">预计<span style="font-weight:bold;color:#600;" wicket:id="budgetHour"></span>人天</div>
				              </div>
							</td>
							<td width="55%">
							<div class="type-text">
				                <div wicket:id="userProjDetail">
				                	<span wicket:id="userProjCost" style="padding:0 2px;margin:0 2px;border-left:1px solid #600;"><a title="点击查看个人的工时详情" wicket:id="userProjCostLink" ><span wicket:id="userProjCostName" /></a></span>
				                </div>
			              	</div>
							</td>
						</tr>
					</tbody>
					</table>
					</form>
				</div>
			</div>
			<!-- end: #col1 -->
			<!-- begin: #col3 static column -->
			<div id="col3" role="main">
				<div id="col3_content" class="clearfix">
					<form method="post" wicket:id="thisForm" action="" class="yform" role="application">
					<div class="feedbackSpan" wicket:id="feedback"></div>
              		<h5>选择起止日期：</h5>
						<div class="type-text" style="margin:0 -10px;">
						<span class="importantTitle">起</span><input wicket:id="beginDate" contentEditable="false" type="text" style="width:140px;display:inline;" class="Wdate" onfocus="WdatePicker()"/>
						</div>
						<div class="type-text" style="margin:0 -10px;">
						 <span class="importantTitle">至</span><input wicket:id="endDate" contentEditable="false" type="text" style="width:140px;display:inline;" class="Wdate" onfocus="WdatePicker()"/>
						</div>
						
              		<h5>选择项目：<span class="dimmed">(多选)</span></h5>
			            
					    <div class="type-select" style="">
						  <select wicket:id="projs" multiple="multiple" size="20" style="margin:0 -15px;width:200px;font-size:14px;"></select>
			            </div>
					    <div class="type-button">
						  <input type="submit" value="统计" wicket:id="statButt" class="submit" id="submit" name="submit" />
						  <input type="submit" value="清空" class="reset" wicket:id="clearStatButt" id="submit" name="submit" />
			            </div>
						
		            </form>
				</div>
			</div>
			<div id="ie_clearing">&nbsp;</div>
			<!-- end: #col3 -->

<script type="text/javascript">
$(document).ready(function(){
	var opts = $('#projs option');
	for(var i = 0; i < opts.length; i++) {
		if($(opts[i]).val().indexOf('dept_') == 0) {
			$(opts[i]).css("color","#606060");
			$(opts[i]).css("background-color","#F4F4F4");
			$(opts[i]).attr("disabled","true");
		}
		else {
			$(opts[i]).css("background-color","#F9F8DD");
		}
	}
});
</script>

</wicket:extend>